package wikibooks;

/**
 * Converts Strings of MediaWiki markup into LaTeX based on
 * <code>ConversionSettings settings</code>.
 * @author Derbeth
 */
public interface WikicodeConverter {

    /**
     * Converts MediaWiki markup in String wikicode to LaTeX and returns LaTeX.
     *
     * @param wikicode MediaWiki markup.
     * @return LaTeX markup.
     */
    String convert(String wikicode);

    /**
     * sets wikicode name
     * @param name associated with converted wikicode (eg. chapter name)
     */
    void setWikicodeName(String name);
}
